<div class="clear">
<div class="right"><%= link_to "new team",new_admin_team_path %></div>
</div>

<div class="tab clear">
<ul>
<%= tab_item lambda{!params[:no_alias]},"all",admin_users_path %>
<%= tab_item lambda{params[:no_alias]},"no alias name teams",admin_users_path(:no_alias=>"true") %>
</ul>
</div>


<table class="lister">
<thead>
<tr>
<td>Team name</td>
<td>Team name2</td>
<td>Team display name</td>
<td>Team picture </td>
<td>Manage</td>
</tr>
</thead>
<tbody>
<% if @teams.empty? %>
<tr><td colspan="5"><div class="empty"> no teams found. </div></td></tr>
<% else %>
<%= render :partial=>"team",:collection=>@teams %>
<% end %>
</tbody>
</table>
<%= will_paginate @teams %>
